package com.h3c.nem.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkerGradeDTO
 *
 * @Author: l22886
 * @Date: 2022-02-23
 * Description: tb_worker_grade dto实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkerGrade对象", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TbWorkerGradeDTO {


    @ApiModelProperty(value = "新员工工号")
    private String workerId;

    @ApiModelProperty(value = "新员工姓名")
    private String workerName;

    @ApiModelProperty(value = "流程ID")
    private String flowId;

    @ApiModelProperty(value = "月度考核周期名称")
    private String scoreMonth;

    @ApiModelProperty(value = "月度考核最终成绩")
    private String workerGrade;

    @ApiModelProperty(value = "最终评价说明")
    private String workerEvaluate;

    @ApiModelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date startDate;

    @ApiModelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date endDate;

    @ApiModelProperty(value = "评价人工号")
    private String evaluatorId;

    @ApiModelProperty(value = "评价时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="Asia/Shanghai")
    private Date evaluateTime;

    /**
     * 排序字段 + 升序， -降序
     * 比如 +updateTime 根据 修改时间升序排序，-updateTime 根据 修改时间降序排序
     */
    private String orderBy;

    private String deptName;

}
